clear all 
set more off
cd "/Users/yasenov/Dropbox/mariel_boatlift/jhr_version/jhr_figures"
global folder /Users/yasenov/Dropbox/mariel_boatlift/revision_version/revision_data/
set scheme s1color

use $folder/aux_march.dta

keep if low_skilled == 1
keep if hisp == 0
keep if age >= 25 & age <= 59
keep if male == 1
keep if labforce == 2
drop if classwly == 10 | classwly == 13 | classwly == 14 
keep if logwage > 0

keep if metarea == 5000

collapse (mean) logwage [pw=wtsupp], by(year metarea)
replace year = year - 1 

replace logwage = . if year < 1977

twoway (line logwage year, lcolor(red) lpattern(solid)), ///
	xline(1979, lpattern(dash) lcolor(black)) ///
	xtitle("") ///
	ytitle("") ///
	subtitle("Log Weekly Wages in Miami" "March CPS, Borjas (2017) Sample") ///
	legend(label(1 "Miami") label(2 "Our Synthetic Control") label(3 "Borjas (2015) Synthetic Control")) ///
	xlabel(1973 "1973" 1975 "75" 1977 "77" 1979 `""79" "Pre""'	1981 `""81" "Post""' 1983 "83" 1985 "85" 1987 "87" 1989 "89" 1991 "91") ///
	xscale(range(1972 1992))  ///
	yscale(range(4.6 5.8)) ///
	ylabel(4.6(.3)5.8) ///
	plotregion(lwidth(none)) ///
	text(5.8 1990.8 "Panel A")
	
graph copy one, replace
